<template>
	<div>
		
	
	<ul class="bottom">
		<li>
			<router-link to="/">
				<img :src="homeurl">
				<h3>首页</h3>
			</router-link>
		</li>
		<li>
			<router-link to="/order">
				<img :src="orderurl">
				<h3>订单</h3>
			</router-link>
		</li>
		<li>
			<router-link to="/user">
				<img :src="userurl">
				<h3>个人中心</h3>
			</router-link>
		</li>
	</ul>

	</div>
</template>

<script>
	export default{
		name:'Bottom',
		props:['propsurl'],
		data(){
			return{
				homeurl : '',
				orderurl : '',
				userurl : '',
			}
		},
		
		mounted(){
			this.homeurl = this.propsurl[0];
			this.orderurl = this.propsurl[1];
			this.userurl = this.propsurl[2];
		},
		
	}
</script>

<style scoped>
	.ad aside{
		width: 100%;
		height: 1.2rem;
		position: fixed;
		top: 18.98rem;
		z-index: 100;
		background-color: rgba(0, 0, 0,0.9);
		line-height: 1.2rem;
	}
	.ad aside p{
		width: 100%;
		height: 1.2rem;
		line-height: 1.2rem;
		
	}
	
	.ad aside p em{
		color: white;
		position: relative;
		top: -0.23rem;
		left: 0.1rem;
		font-weight: bold;
	}
	
	.ad aside p span{
		width: 32%;
		height: 0.85rem;
		border-radius: 0.6rem;
		float: right;
		text-align: center;
		line-height: 0.9rem;
		margin-right: 0.3rem;
		position: relative;
		top: 0.18rem;
		font-size: 0.4rem;
		background-color: rgb(255, 209, 0);
	}
	
	.ad aside p img{
		width: 0.85rem;
		height: 0.85rem;
		padding-top: 0.15rem;
		padding-left: 0.1rem;
	}
	
	.ad aside p span i{
		padding-left: 0.08rem;
	}
	
	a{
		text-decoration: none;
		color: black;
	}
	.bottom{
		position: fixed;
		bottom: 0;
		left: 0;
		width: 100%;
		background-color: white;
		height: 1.3rem;
		z-index: 100;
		display: flex;
		align-items: center;
		justify-content: space-between;
	}
	
	.bottom li{
		width: 30%;
		text-align: center;
		height: 1rem;
	}
	
	.bottom li img{
		width: 0.6rem;
		height: 0.6rem;
	}
	
	.bottom li h3{
		line-height: 0.5rem;
	}
	
</style>
